package com.lanyun.pojo;

/**
 * @author 李向南
 * 商品类型实体类
 */
public class ProductType {
private Integer protype_id;
private String protype_name;
private Warehouse warehouse;

    public Integer getProtype_id() {
        return protype_id;
    }

    public void setProtype_id(Integer protype_id) {
        this.protype_id = protype_id;
    }

    public String getProtype_name() {
        return protype_name;
    }

    public void setProtype_name(String protype_name) {
        this.protype_name = protype_name;
    }

    public Warehouse getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(Warehouse warehouse) {
        this.warehouse = warehouse;
    }

    public ProductType() {
    }

    public ProductType(Integer protype_id, String protype_name, Warehouse warehouse) {
        this.protype_id = protype_id;
        this.protype_name = protype_name;
        this.warehouse = warehouse;
    }

    @Override
    public String toString() {
        return "ProductType{" +
                "protype_id=" + protype_id +
                ", protype_name='" + protype_name + '\'' +
                ", warehouse=" + warehouse +
                '}';
    }
}
